package com.czy.workflow.core.listener;

import com.czy.workflow.core.model.TaskInfo;

public interface FlowListener {

    /**
     * 任务节点执行前
     * @param taskInfo
     */
    void before(TaskInfo taskInfo, boolean success);


    /**
     * 任务节点执行后
     * @param taskInfo
     */
    void after(TaskInfo taskInfo, boolean success);

}
